package Entity;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class Merchant {
    private int id;
    private String name;
    private String belongto;
    private String username;
    private double w;

    public double getW() {
        return w;
    }

    public void setW(double w) {
        this.w = w;
    }

    public Merchant(int id, String name, String belongto, String username) {
        this.id = id;
        this.name = name;
        this.belongto = belongto;
        this.username = username;
    }

    @Override
    public String toString() {
        return "Merchant{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", belongto='" + belongto + '\'' +
                ", username='" + username + '\'' +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBelongto() {
        return belongto;
    }

    public void setBelongto(String belongto) {
        this.belongto = belongto;
    }
}
